package com.example.sss.service;

import com.example.sss.pojo.Resume;
import com.example.sss.repository.ResumeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResumeServiceImpl implements ResumeService {

    @Autowired
    private ResumeRepository resumeRepository;

    @Override
    public List<Resume> findAllResume() {
        return resumeRepository.findAll();
    }

}
